/////////////////////////////////////////////////////////////////////////////
// Name:        dgt_alltab.h
// Purpose:     
// Author:      Aleksey Plotnikov & Alla Nabatova
// Modified by: 
// Created:     18/04/2008 02:11:39
// RCS-ID:      
// Copyright:   Diamant Software
// Licence:     
/////////////////////////////////////////////////////////////////////////////

#ifndef _DGT_ALLTAB_H_
#define _DGT_ALLTAB_H_

#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "dgt_alltab.h"
#endif

/*!
 * Includes
 */

////@begin includes
#include "wx/grid.h"
////@end includes
#include "dgt_PluginGrid.h"
#include "dgt_PluginManager.h"

/*!
 * Forward declarations
 */

////@begin forward declarations
class dgt_AllTab;
class dgt_PluginGrid;
////@end forward declarations

/*!
 * Control identifiers
 */

////@begin control identifiers
#define ID_ALLTAB 10001
#define ID_DGT_PLUGINGRID 10003
#define SYMBOL_DGT_ALLTAB_STYLE wxSUNKEN_BORDER|wxTAB_TRAVERSAL
#define SYMBOL_DGT_ALLTAB_IDNAME ID_ALLTAB
#define SYMBOL_DGT_ALLTAB_SIZE wxDefaultSize
#define SYMBOL_DGT_ALLTAB_POSITION wxDefaultPosition
////@end control identifiers


/*!
 * dgt_AllTab class declaration
 */

class dgt_AllTab: public wxPanel
{    
    DECLARE_DYNAMIC_CLASS( dgt_AllTab )
    DECLARE_EVENT_TABLE()

public:
    /// Constructors
    dgt_AllTab();
    dgt_AllTab(wxWindow* parent, wxWindowID id = ID_ALLTAB, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxSUNKEN_BORDER|wxTAB_TRAVERSAL);

    /// Creation
    bool Create(wxWindow* parent, wxWindowID id = ID_ALLTAB, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxSUNKEN_BORDER|wxTAB_TRAVERSAL);

    /// Destructor
    ~dgt_AllTab();

    /// Initialises member variables
    void Init();

    /// Creates the controls and sizers
    void CreateControls();

////@begin dgt_AllTab event handler declarations

    /// wxEVT_GRID_CELL_LEFT_CLICK event handler for ID_DGT_PLUGINGRID
    void OnCellLeftClick( wxGridEvent& event );

////@end dgt_AllTab event handler declarations

////@begin dgt_AllTab member function declarations

    /// Retrieves bitmap resources
    wxBitmap GetBitmapResource( const wxString& name );

    /// Retrieves icon resources
    wxIcon GetIconResource( const wxString& name );
////@end dgt_AllTab member function declarations

    /// Should we show tooltips?
    static bool ShowToolTips();

////@begin dgt_AllTab member variables
    dgt_PluginGrid* m_AllGrid;
    wxStaticText* m_AboutPl;
////@end dgt_AllTab member variables
/*************************functions**************************/
	void SetPluginInfo ();
private:
	wxArrayString array_string;
};

#endif
    // _DGT_ALLTAB_H_
